package com.heima.models.movement.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 黑马程序员
 * @since 2023-07-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("th_movement")
public class Movement implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    private Integer userId;

    private String content;

    private String images;

    private String location;

    private LocalDateTime createdTime;

    private Integer likes;

    private Integer comments;

    private Integer love;


}
